package com.yinzifan.api;

import java.util.List;

import com.googlecode.jsonrpc4j.JsonRpcService;
import com.yinzifan.api.domain.ProductRpcReq;
import com.yinzifan.entity.Product;

@JsonRpcService("rpc/products")
public interface ProductRpc {

	List<Product> query(ProductRpcReq req);
	
	Product findOne(String id);
	
}
